package com.itheima.reggie.dto;

import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.entity.DishFlavor;
import lombok.Data;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;
@ToString(callSuper = true)//打印父类的信息
@Data
public class DishDto extends Dish {
  private List<DishFlavor> flavors= new ArrayList<DishFlavor>();
  private String categoryName;
  private Integer copies;

}
